package com.kkwrite.regimen.provider.service.income;

import com.kkwrite.regimen.common.entity.dto.income.IncomeCountOutDTO;

/**
 * Created by Ron on 2018/9/12 16:42.
 *
 * @author Ron
 */
public interface ShopIncomeService {
    /**
     * 统计店铺收益
     *
     * @param shopIdString 店铺ID字符串
     * @return IncomeCountOutDTO
     */
    IncomeCountOutDTO count(String shopIdString);

    /**
     * 店铺提现接口
     *
     * @param amount 提现金额
     * @param shopId 店铺ID
     */
    void extractCashOfShop(Double amount, Long shopId);
}
